package com.dy.design_pattern_study.abstract_factory_pattern.dome_abstract_factory.IDB.impl.sqlServer;

import com.dy.design_pattern_study.abstract_factory_pattern.User;
import com.dy.design_pattern_study.abstract_factory_pattern.dome_abstract_factory.IDB.IUser;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-05
 * @Content SQLService系列产品实现1
 */
public class SqlserverUser implements IUser {
    @Override
    public void Insert(User user) {
        System.out.println("在 Sqlserver 中插入一条 User 数据: user = " + user);

    }

    @Override
    public User getUser(int number) {
        System.out.println("在 Sqlserver 中查询 User 一条数据: id = " + number);
        return null;
    }
}
